package com.zhw.mybatis.entity;

import java.io.Serializable;

public class Orders implements Serializable {

    private String id;
    private String orderNum;
    private String goodsId;
    private String addTime;

    public Orders() {
    }

    public Orders(String id, String orderNum, String goodsId, String addTime) {
        this.id = id;
        this.orderNum = orderNum;
        this.goodsId = goodsId;
        this.addTime = addTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id='" + id + '\'' +
                ", orderNum='" + orderNum + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", addTime='" + addTime + '\'' +
                '}';
    }
}
